.class Lcom/teewoo/app/bus/ui/Home4StaticMap$1;
.super Landroid/os/Handler;
.source "Home4StaticMap.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/teewoo/app/bus/ui/Home4StaticMap;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/Home4StaticMap;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    .line 123
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/teewoo/app/bus/ui/Home4StaticMap$1;)Lcom/teewoo/app/bus/ui/Home4StaticMap;
    .locals 1
    .parameter

    .prologue
    .line 123
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 7
    .parameter "msg"

    .prologue
    .line 126
    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    .line 161
    :cond_0
    :goto_0
    :pswitch_0
    return-void

    .line 128
    :pswitch_1
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v0}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->doAfterLocationFailure()V

    goto :goto_0

    .line 131
    :pswitch_2
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-virtual {v0}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->doAfterLocationSuccess()V

    goto :goto_0

    .line 134
    :pswitch_3
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$0(Lcom/teewoo/app/bus/ui/Home4StaticMap;)V

    goto :goto_0

    .line 137
    :pswitch_4
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$1(Lcom/teewoo/app/bus/ui/Home4StaticMap;)V

    goto :goto_0

    .line 140
    :pswitch_5
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/util/Utils;->getNetworkStatus(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 141
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/util/DialogUtil;->netSettingDialog(Landroid/content/Context;)V

    goto :goto_0

    .line 144
    :pswitch_6
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    iget-object v0, v0, Lcom/teewoo/app/bus/ui/Home4StaticMap;->verUtil:Lcom/teewoo/app/bus/util/VersionUtil;

    if-eqz v0, :cond_1

    .line 146
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    iget-object v0, v0, Lcom/teewoo/app/bus/ui/Home4StaticMap;->verUtil:Lcom/teewoo/app/bus/util/VersionUtil;

    invoke-virtual {v0}, Lcom/teewoo/app/bus/util/VersionUtil;->getUrl()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 147
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    iget-object v0, v0, Lcom/teewoo/app/bus/ui/Home4StaticMap;->verUtil:Lcom/teewoo/app/bus/util/VersionUtil;

    invoke-virtual {v0}, Lcom/teewoo/app/bus/util/VersionUtil;->getUrl()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/teewoo/app/bus/ui/HomeSystemTab;->URL_DOWNLOAD:Ljava/lang/String;

    .line 148
    :cond_1
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/Home4StaticMap;->access$2(Lcom/teewoo/app/bus/ui/Home4StaticMap;)Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f08001d

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    iget-object v2, v2, Lcom/teewoo/app/bus/ui/Home4StaticMap;->verUtil:Lcom/teewoo/app/bus/util/VersionUtil;

    invoke-virtual {v2}, Lcom/teewoo/app/bus/util/VersionUtil;->getDescription()Ljava/lang/String;

    move-result-object v2

    .line 149
    const v3, 0x7f02005d

    iget-object v4, p0, Lcom/teewoo/app/bus/ui/Home4StaticMap$1;->this$0:Lcom/teewoo/app/bus/ui/Home4StaticMap;

    iget-object v4, v4, Lcom/teewoo/app/bus/ui/Home4StaticMap;->verUtil:Lcom/teewoo/app/bus/util/VersionUtil;

    invoke-virtual {v4}, Lcom/teewoo/app/bus/util/VersionUtil;->isForceUpgrade()Z

    move-result v4

    new-instance v5, Lcom/teewoo/app/bus/ui/Home4StaticMap$1$1;

    invoke-direct {v5, p0}, Lcom/teewoo/app/bus/ui/Home4StaticMap$1$1;-><init>(Lcom/teewoo/app/bus/ui/Home4StaticMap$1;)V

    .line 158
    const/4 v6, 0x0

    .line 148
    invoke-static/range {v0 .. v6}, Lcom/teewoo/app/bus/util/DialogUtil;->askUpdateDialog(Landroid/content/Context;ILjava/lang/String;IZLandroid/content/DialogInterface$OnClickListener;Landroid/content/DialogInterface$OnClickListener;)V

    goto :goto_0

    .line 126
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_0
        :pswitch_4
        :pswitch_5
        :pswitch_6
    .end packed-switch
.end method
